Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

756
Views
laravel vue pagination Se accedió a la propiedad "$createElement" durante el renderizado pero no está definida en la instancia

Estoy tratando de usar la paginación de laravel vue en mi aplicación vue3 typescript

https://github.com/gilbitron/laravel-vue-paginación

Instalé la biblioteca y la registré en mi index.ts

 <template> <div> <table> <tr v-for="(hub, index) in hubs" :key="index"> <td>{{ index + 1 }}</td> <td>{{ hub.name }}</td> <td>{{ hub.contact_address }}</td> </tr> </table> <pagination :data="hubs" @pagination-change-page="getResults"></pagination> </div> </template>

JavaScript

 <script lang="ts"> export default { name: "AllHubs", setup() { let hubs = {} onMounted(() => { getResults(); }); const getResults = (page = 1) => { Admin.getAllHubs(1) .then((response) => { hubs = response.data; }) .catch((error) => { }) .finally(() => { }); }; }

Error

 [Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. at <AllHubs onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!